using UnityEngine;
using System.Collections;

public class StopEmittingAfterDelay : MonoBehaviour
{
	// Small helper script to turn off a particle emitter after a given delay
	public float delay = 0.1f;
	
	public IEnumerator Start()
	{
		
		
		// The pause to take. We start out by waiting for a little while
		yield return new WaitForSeconds(delay);
		
		// Then we turn of the particle emitter
		particleEmitter.emit = false;
	}
}